import request from '@/utils/request';

// 查询合同审核列表
export function contractAuditsList(query) {
  return request({
    url: '/system/contract/list',
    method: 'post',
    data: query
  })
}

// 合同审核通过
export function contractPass(orderItemId) {
  return request({
    url: '/system/contract/pass/' + orderItemId,
    method: 'get',
  })
}

// 合同审核拒绝
export function contractRefuse(orderItemId) {
  return request({
    url: '/system/contract/refuse/' + orderItemId,
    method: 'get',
  })
}

// 合同详情
export function contractDetial(id) {
  return request({
    url: '/system/contract/' + id,
    method: 'get',
  })
}

